NewsParserPlugin\Parser\Modifiers\AdapterModifiers\Before\GeneratePostBodyWithAI A

Total Complexity 58
Dependencies 0
Dependents 1
Total lines 256
Lines of code 210
Logical lines of code 124
Comment lines 8
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
encodeBody()
A
57 8 17
mergeParagraphs()
S
54 7 23
extractHeadins()
S
57 6 16
decodeBody()
S
51 5 28
processBodyArray()
S
56 5 16
__invoke()
S
53 4 22
replaceOriginalContent()
S
59 4 14
shouldGenerateWithAI()
S
70 4 6
decodeParagraph()
S
60 3 14
countParagraphs()
S
63 3 11
preparePostBody()
S
78 2 3
processPipelines()
S
63 2 10
getAIRequestOptions()
S
63 1 12
__construct()
S
81 1 3
preparePrompt()
S
72 1 5
processBodyString()
S
71 1 5
removePromptTags()
S
72 1 5